﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MxWeiXinPF.Model
{    /// <summary>
     /// 功能：用于方法中处理的过程返回值集合；也可以用于Controller里返回json的对象
     /// moved by 李朴  
     /// from :HuRonClub.Web2.CommonCode.Result.cs
     /// datetime:2015-9-29
     /// </summary>
    public class WebApiResultData
    {
        /// <summary>
        ///  status  --0请求数据失败，1请求数据成功，-1服务器内部错误
        /// </summary>
        public int status { get; set; }
        /// <summary>
        /// 服务端消息
        /// </summary>
        public string detail { get; set; }
        /// <summary>
        /// 错误代码
        /// </summary>
        public long code { get; set; }
        
        public string result { get; set; }

        public WebApiResultData()
        {
            status = 1;
            detail = "";
            code = 0;
            result = "";
        }
    }
    
}
